SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].AjustesInvTiposUpdateCommand
(
	@ID numeric(10, 0),
	@TIPO varchar(50),
	@Original_ID numeric(10, 0),
	@Original_TIPO varchar(50)
)
AS
	SET NOCOUNT OFF;
UPDATE [AJUSTES_INV_TIPOS] SET [ID] = @ID, [TIPO] = @TIPO WHERE (([ID] = @Original_ID) AND ([TIPO] = @Original_TIPO));
	
SELECT ID, TIPO FROM AJUSTES_INV_TIPOS WHERE (ID = @ID)
GO
